<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*,java.text.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../css/bootstrap.css" type="text/css"></link>
<title>Insert title here</title>
</head>
<body>
<div class="container">  
<hr class="dirver"/>  
<div class="row">  
    <div class="col-xs-6 col-md-2">  
        <a href="#" class="thumbnail">  
            <img class="image-responsive" src="../../images/logo.gif" >  
         </a>  
    </div>  
    <div class="col-xs-6 col-md-2">  
        <a href="#" class="thumbnail">  
            <img class="image-responsive" src="../../images/logo.gif">  
         </a>  
    </div>  
</div>  
</div>  
<hr class="hr"/>
	<form action="park_add" method="post">
	<table class="table" border="1" cellpadding="0" cellspacing="0" align="center" width="600px">
		<tr>
			<td>车主账号：</td>
			<td><input type="text" name="park.park_user_id" /></td>
		</tr>
		<tr>
			<td>当前城市：</td>
			<td><input type="text" name="park.park_city"/> </td>
		</tr>
		<tr>
			<td>停车区域：</td>
			<td>
				<input type="radio" name="park.park_name" value="A" />A&nbsp;
				<input type="radio" name="park.park_name" value="B" />B&nbsp;
				<input type="radio" name="park.park_name" value="C" />C&nbsp;
			</td>
		</tr>
		<tr>
			<td>停车类型：</td>
			<td>
			<input type="radio" name="park.park_type" value="1" />1&nbsp;
			<input type="radio" name="park.park_type" value="2" />2&nbsp;
			<input type="radio" name="park.park_type" value="3" />3&nbsp;
			</td>
		</tr>
		<tr>
			<td>收费标准：</td>
			<td>
			<input type="radio" name="park.park_standard" value="3" />3元/小时&nbsp;
			<input type="radio" name="park.park_standard" value="5" />5元/小时&nbsp;
			<input type="radio" name="park.park_standard" value="10" />10元/小时&nbsp;
			</td>
		</tr>
		<tr>
			<td>车牌号：</td>
			<td><input type="text" name="park.park_car_plate"/></td>
		</tr>
		<tr>
			<td>备注信息：</td>
			<td><input type="text" name="park.park_note"/> </td>
		</tr>
	
		<tr>
			<td colspan="2">	
			<%
		int year, month, day, week, hh;
        Calendar calendar = Calendar.getInstance();
        year = calendar.get(Calendar.YEAR);
        month = calendar.get(Calendar.MONTH);
        day = calendar.get(Calendar.DAY_OF_MONTH);
        week = calendar.get(Calendar.DAY_OF_WEEK);
        hh = calendar.get(Calendar.HOUR);
        SimpleDateFormat dateFormat = 
             new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println("date=" + dateFormat.format(calendar.getTime()));
        System.out.println("year=" + year);
        System.out.println("month=" + month);
        System.out.println("day=" + day);
        System.out.println("week=" + week);
        System.out.println("hh=" + hh);
			 %>
		<input type="hidden" name="a" value=""/>
		<input type="hidden" name="park.park_longitude" value="<%=dateFormat.format(calendar.getTime())%>"/>
		<input type="hidden" name="park.park_latitude" value="0"/>
		<input type="hidden" name="park.park_casher" value="z"/>
		<input type="hidden" name="park.park_max" value="50"/>
		<input width="100px" type="submit" value="录入" /></td>
		</tr>
	
	</table>
	</form>
</body>
</html>